bgo417389 - Scrollwheel for GtkPathBar
authorCarlos Garnacho <carlos@imendio.com>
Mon, 3 Mar 2008 21:15:21 +0000 (21:15 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Mon, 3 Mar 2008 21:15:21 +0000 (21:15 +0000)
commit761749c26b9c300da5a5db08837af0e73b857624
tree29375d93f6d028547d1c8c1fc9c7e1b7cbdd374e
parent845a4632d9c9bb909b4dc05e0a98123d6b4abd66
bgo417389 - Scrollwheel for GtkPathBar
2008-03-03  Carlos Garnacho  <carlos@imendio.com>

Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
scrollwheel work in GtkPathBar.

* gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.

* gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
an input-only window, event_window, which we'll use to capture
scroll events.
(gtk_path_bar_map): Show the event_window under the rest of the
windows, so it will be a catch-all for unhandled events.

Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/trunk/; revision=19699
ChangeLog
gtk/gtkpathbar.c
gtk/gtkpathbar.h